package com.zw.admin.server.service.impl;

import com.zw.admin.server.dao.FarmWeatherDao;
import com.zw.admin.server.model.FarmWeather;
import com.zw.admin.server.service.farmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class FarmServiceImp implements farmService {

    @Autowired
    private FarmWeatherDao farmWeatherDao;


    @Override
    public List<FarmWeather> select(Map<String, Object> farmMap) {
        return farmWeatherDao.select(farmMap);
    }
}
